import { createApp } from 'vue';
import Element from 'element-plus';
import 'element-plus/dist/index.css';
import zhCn from 'element-plus/es/locale/lang/zh-cn';
import App from './App.vue';
import router from './router';
import store from './store';
import '../src/assets/css/base.css';
import index from './api/index';
import common from "./assets/common";
import echarts from 'echarts';

const app = createApp(App);
app.use(Element,{locale:zhCn});
app.config.globalProperties.common = common;
app.config.globalProperties.$api = index;
app.use(store).use(router).mount('#app');
